package com.lubase.metadata.service;

import com.lubase.metadata.model.ColumnMetaModel;
import com.lubase.metadata.model.ConstraintMetaModel;
import com.lubase.metadata.model.TableMetaModel;

import java.util.List;

/**
 * @author lubase
 * @date 2021/9/2
 * @description: 读取元数据
 */
public interface MetadataReadService {
    List<TableMetaModel> getTableList(String databaseId);

    List<ColumnMetaModel> getTableColumnList(String databaseId);

    List<ConstraintMetaModel> getTableConstraintList(String databaseId);
}
